package common

import "database/sql"

type PlayerStatus struct {
	Status     int64  `json:"status" dc:"状态"`
	StatusName string `json:"statusname" dc:"状态名称"`
	DeptId     string `json:"deptid" dc:"科室ID"`
	DeptName   string `json:"deptname" dc:"科室名称"`
	RoomId     string `json:"roomid" dc:"房间ID"`
	RoomName   string `json:"roomname" dc:"房间名称"`
	DoctorId   string `json:"doctorid" dc:"医生ID"`
	DoctorName string `json:"doctorname" dc:"医生姓名"`
	CreateTime string `json:"createtime" dc:"状态更新时间"`
}

type SqlPlayerStatus struct {
	Status     sql.NullInt64  `db:"status"`
	StatusName sql.NullString `db:"statusname"`
	CreateTime sql.NullString `db:"createtime"`
	//DeptId     sql.NullString `db:"deptid"`
	//DeptName   sql.NullString `db:"deptname"`
	//RoomId     sql.NullString `db:"roomid"`
	//RoomName   sql.NullString `db:"roomname"`
	//DoctorId   sql.NullString `db:"doctorid"`
	//DoctorName sql.NullString `db:"doctorname"`
}
